package com.tc.kqdemo.pojo;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
@Configuration
public class ConfigData {

    @Value("${data.dd.corpid}")
    private  String corpId;
    @Value("${data.dd.secret}")
    private  String corpSecret;
    @Value("${data.dd.nonceStr}")
    private  String nonceStr;//随机字符串
    @Value("${data.dd.agentid}")
    private  String agentId;
    @Value("${data.send.url}")
    private String sendUrl;

    public String getSendUrl() {
        return sendUrl;
    }

    public void setSendUrl(String sendUrl) {
        this.sendUrl = sendUrl;
    }

    public String getCorpId() {
        return corpId;
    }

    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }

    public String getCorpSecret() {
        return corpSecret;
    }

    public void setCorpSecret(String corpSecret) {
        this.corpSecret = corpSecret;
    }

    public String getNonceStr() {
        return nonceStr;
    }

    public void setNonceStr(String nonceStr) {
        this.nonceStr = nonceStr;
    }

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }


    @Override
    public String toString() {
        return "ConfigData{" +
                "corpId='" + corpId + '\'' +
                ", corpSecret='" + corpSecret + '\'' +
                ", nonceStr='" + nonceStr + '\'' +
                ", agentId='" + agentId + '\'' +
                '}';
    }
}
